echo "Setting the PATH Variable"
export PATH="/usr/local/bin:$PATH"
echo $PATH

echo "Uninstalling APP from device...."
ideviceinstaller --uninstall com.bskyb.skybus.ofsApp

#Get APPID of apps installed on device..
#ideviceinstaller --list-apps

ideviceinstaller --install "/Users/yha03/Documents/Aptana Studio 3 Workspace/sb-ofs-mobile/src/main/cordova/platforms/ios/OFSApp Copy.app"
echo "Completed re-installing the app on device..."

